  /******************************************
  	 初次画图
   *******************************************/
  var customerDateTemperatureMap = new Map();
  var customerDatePolishedTemperatureMap = new Map();
  var customerDatePeriodMap = new Map();
  var customerDateHeartMap  = new Map();
  var customerDateMoonMap  = new Map();
  var customerDateMedicineMap = new Map();
  var customerDateDrinkMap = new Map();
  var customerDatePlaneMap = new Map();

  var customerDataYjqStartDateArray = new Array();

  function firstShowBBTChart(){
  	//只初始化一次
  	setEChartConfig();
  	addOrientationChangeListener();
  	initCustomerData();

  	//后面可能被多次调用
  	initBBTChartData();
  	drawBBTChart();

  	if(portraitOrLandscape == "landscape")
  		disableBBTChartDetail();
	else{
		enableBBTChartDetail();
  		firstShowBBTChartDetail();
  	}
  }

  function initCustomerData(){
	  var customerDateTemperatureStr = localStorage.getItem("customerDateTemperatureKey");
	  var customerDatePolishedTemperatureStr = localStorage.getItem("customerDatePolishedTemperatureKey");
	  var customerDatePeriodStr = localStorage.getItem("customerDatePeriodKey");
	  var customerDateHeartStr = localStorage.getItem("customerDateHeartKey");
	  var customerDateMoonStr = localStorage.getItem("customerDateMoonKey");
	  var customerDateMedicineStr = localStorage.getItem("customerDateMedicineKey");
	  var customerDateDrinkStr = localStorage.getItem("customerDateDrinkKey");
	  var customerDatePlaneStr = localStorage.getItem("customerDatePlaneKey");

	  customerDateTemperatureMap = getDateTemperatureMap(customerDateTemperatureStr);
	  customerDatePolishedTemperatureMap = getDateTemperatureMap(customerDatePolishedTemperatureStr);
	  customerDatePeriodMap = getDatePeriodMap(customerDatePeriodStr);
	  customerDateHeartMap = getDateHeartMap(customerDateHeartStr);
	  customerDateMoonMap = getDateMoonMap(customerDateMoonStr);
	  customerDateMedicineMap = getDateMedicineMap(customerDateMedicineStr);
	  customerDateDrinkMap = getDateDrinkMap(customerDateDrinkStr);
	  customerDatePlaneMap = getDatePlaneMap(customerDatePlaneStr);

	  initYjqStartDateArray();
  }

  function initYjqStartDateArray(){
  	  var customerDataYjqStartDateArrayStr = localStorage.getItem("customerDataYjqStartDateArrayStrKey");
  	  customerDataYjqStartDateArray = customerDataYjqStartDateArrayStr.split(",");
  }